﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ExamAnalysis.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>上财烽火队 - 中小学考试分析系统</title>
    <link href="Images/main/main.css" rel="stylesheet" type="text/css" />
    <link href="Styles/Reset.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" style="height:100%; width:100%; margin:0; padding:0;">
    <ext:ResourceManager ID="ResourceManager1" runat="server"></ext:ResourceManager>
    <ext:Viewport ID="Viewport1" runat="server" Layout="border">
        <Items>
            <ext:Panel ID="HeadPanel" Border="false"  runat="server" Region="North" Height="60" HideLabel="true" >
                <Content>
                    <div id="top">
	                    <div id="logo"></div>
		                <div id="user">欢迎您:
                            <asp:LoginName ID="LoginName1" runat="server" />  
                                IP:
                            <asp:Literal ID="UserIP" runat="server">
                            </asp:Literal>
                            <asp:LoginStatus ForeColor="Black" Font-Underline="false" runat="server" />
                        </div>
	                </div>
                </Content>
            </ext:Panel>
            <ext:Panel ID="SidePanel" Border="false" runat="server" Region="West" Width="188">
                <Content>
                    <div id="left">
		               <div id="left_menu"></div>
			           <div id="left_tree">
					        <div id="tree_text">
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="HomeMenuButton" Icon="House" Text="系统首页">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Home.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="ScoreMenuButton" Icon="AwardStarGold1" Text="成绩查询">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Reports/MicroStudentReport/Score.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
						        <li class="tree_li">
						            <ext:LinkButton runat="server" ID="DataInputMenuButton" Icon="Package" Text="数据录入">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Input/Default.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
						        <li class="tree_li">
						            <ext:LinkButton runat="server" ID="DataMaintainMenuButton" Icon="Door" Text="数据维护">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Manage/Default.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="ViewReportsMenuButton" Icon="Report" Text="成绩分析">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Reports/Default.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
						        <li class="tree_li">
						            <ext:LinkButton runat="server" ID="AccountManageMenuButton" Icon="Lock" Text="我的帐号">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Account/Default.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="RightsMaintainMenuButton" Icon="ApplicationFormEdit" Text="系统管理">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Manage/ManagerDefault.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="DesktopMenuButton" Icon="Zoom" Text="云桌面">
					                    <Listeners>
                                            <Click Handler="window.open('Desktop.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="ViewHelpMenuButton" Icon="Help" Text="系统帮助">
					                    <Listeners>
                                            <Click Handler="#{MainPanel}.load('Help/Default.aspx');"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
                                <li class="tree_li">
						            <ext:LinkButton runat="server" ID="HideMenuButton" Icon="CheckError" Text="隐藏边栏">
					                    <Listeners>
                                            <Click Handler="if(!#{SidePanel}.collapsed){#{SidePanel}.collapse();}else{#{SidePanel}.expand();}"/>
                                        </Listeners>
                                    </ext:LinkButton>
						        </li>
					        </div>
			           </div>
			   		<div id="tree_down"></div> 
			   		</div> 
                </Content>
            </ext:Panel>
            <ext:Panel ID="MainPanel" Border="false" runat="server" Region="Center">
                <Loader Url="Home.aspx" Mode="Frame" AutoLoad="true" DisableCaching="true" />
            </ext:Panel>
            <ext:Panel ID="FootPanel" runat="server" Border="false" Region="South" Height="25">
                <Content>
                    <div id="bottom">
                        <div id="copyright">版权所有© 上海财经大学信息管理与工程学院 <a href="mailto:ExamAnalysis@iSufe.Org">上财烽火队</a>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        地址：上海市杨浦区国定路777号上海财经大学 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        团队成员：王雨辰 张凤逸 计嘉宇 刘佳琦 宋文佳</div>
                    </div>
                </Content>
            </ext:Panel>
        </Items>
    </ext:Viewport>
    </form>
</body>
</html>
